;;; -*- Mode: LISP; Syntax: COMMON-LISP -*-
#-abcl (error "Sorry. This package won't work on any CL other than the Bear.")

(defpackage :ws-sql-system
  (:use :cl :asdf))
(in-package :ws-sql-system)

(defsystem :ws-sql
    :depends-on (:abcld 
		 :s-xml 
		 :cl-l10n ; XXX Too much overhead to just format a date
		 :lisp-unit) ; for WS-SQL-TEST
    :components
    ((:module jdbc-jars :pathname "lib/" :components 
	      ;; name jars explicitly for now until we back with
	      ;; some kind of checksum
	      ((:jar-file "postgresql")
	       (:jar-file "jtds-1.2.2")
	       (:jar-file "ojdbc14_g")))

     (:module package :pathname "" :serial t :components
	      ((:file "package")
	       (:file "config")
	       (:file "utilities")))

     (:module test  :serial t :depends-on (package src) :components
	     ((:file "etel-lisp-unit") ;; patch :LISP-UNIT abstractions
	      (:file "wsdl")
	      (:file "database")))

     (:module src :depends-on (package jdbc-jars)
	      :pathname "" :components 
	      ((:file "lxml")
	       (:file "wsdl" :depends-on ("jdbc" "lxml" "xml-namespaces"))
	       (:file "xml-namespaces")
	       (:file "database-init")
	       (:file "introspect" :depends-on ("jdbc"))
	       (:file "jdbc" :depends-on ("database-init"))))))

    


   
